﻿using Smokey.Client.Contexts;
namespace Smokey.Client.Screens.Common {
    public partial class MainWindow {
        public MainWindow() {
            InitializeComponent();
        }

        public ViewModelContext Context {
            get {
                return (ViewModelContext)this.DataContext;
            }
        }

        private void ManageApplications_Click(object sender, System.Windows.RoutedEventArgs e) {
            Context.ShowApplicationSearchScreen();
        }

        private void AddApplication_Click(object sender, System.Windows.RoutedEventArgs e) {
            Context.ShowViewApplicationScreen(null);
        }
    }
}
